Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nailgun ssl cert verification #12813

Merged

Conversation

dosas
Copy link
Collaborator

@dosas dosas commented Oct 4, 2023

This PR adds the possibility to overwrite the verify settings of nailgun's ServerConfig

According to the setttings given by requests

Backwards compatibility is kept by defaulting to False if the new settings option is not available.

@dosas dosas requested review from a team as code owners October 4, 2023 12:51
@omkarkhatavkar
Copy link

Can one of the admins verify this patch?

@omkarkhatavkar
Copy link

omkarkhatavkar commented Oct 5, 2023

trigger: test-robottelo

@omkarkhatavkar
Copy link

"trigger": "test-robottelo"

Copy link
Member

@jyejare jyejare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NonBlocking comments!

robottelo/config/__init__.py Outdated Show resolved Hide resolved
@jyejare
Copy link
Member

jyejare commented Oct 5, 2023

trigger: test-robottelo

@jyejare jyejare added CherryPick PR needs CherryPick to previous branches 6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 labels Oct 5, 2023
Copy link

@omkarkhatavkar omkarkhatavkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

@omkarkhatavkar
Copy link

omkarkhatavkar commented Oct 6, 2023

@jyejare We need to add the same in the CI PR before merging this, otherwise regression would have an impact

@jyejare
Copy link
Member

jyejare commented Oct 9, 2023

@omkarkhatavkar Not required, The validator should handle it and return False value automatically even though we did not update server settings file in CI! We can merge it as is but good keep CI in sync !

@jyejare
Copy link
Member

jyejare commented Oct 9, 2023

@omkarkhatavkar Opened CI MR 1134 !

@jyejare jyejare merged commit 0ddb4b7 into SatelliteQE:master Oct 9, 2023
5 checks passed
github-actions bot pushed a commit that referenced this pull request Oct 9, 2023
* Add config option to verify nailgun requests against ssl cert

* Use ssl verification for all instances of ServerConfig

* Use dynaconf validator

---------

Co-authored-by: dosas <[email protected]>
(cherry picked from commit 0ddb4b7)
github-actions bot pushed a commit that referenced this pull request Oct 9, 2023
* Add config option to verify nailgun requests against ssl cert

* Use ssl verification for all instances of ServerConfig

* Use dynaconf validator

---------

Co-authored-by: dosas <[email protected]>
(cherry picked from commit 0ddb4b7)
github-actions bot pushed a commit that referenced this pull request Oct 9, 2023
* Add config option to verify nailgun requests against ssl cert

* Use ssl verification for all instances of ServerConfig

* Use dynaconf validator

---------

Co-authored-by: dosas <[email protected]>
(cherry picked from commit 0ddb4b7)
jyejare pushed a commit that referenced this pull request Oct 9, 2023
Nailgun ssl cert verification (#12813)

* Add config option to verify nailgun requests against ssl cert

* Use ssl verification for all instances of ServerConfig

* Use dynaconf validator

---------

Co-authored-by: dosas <[email protected]>
(cherry picked from commit 0ddb4b7)

Co-authored-by: dosas <[email protected]>
jyejare pushed a commit that referenced this pull request Oct 9, 2023
Nailgun ssl cert verification (#12813)

* Add config option to verify nailgun requests against ssl cert

* Use ssl verification for all instances of ServerConfig

* Use dynaconf validator

---------

Co-authored-by: dosas <[email protected]>
(cherry picked from commit 0ddb4b7)

Co-authored-by: dosas <[email protected]>
jyejare pushed a commit that referenced this pull request Oct 9, 2023
Nailgun ssl cert verification (#12813)

* Add config option to verify nailgun requests against ssl cert

* Use ssl verification for all instances of ServerConfig

* Use dynaconf validator

---------

Co-authored-by: dosas <[email protected]>
(cherry picked from commit 0ddb4b7)

Co-authored-by: dosas <[email protected]>
ColeHiggins2 pushed a commit to ColeHiggins2/robottelo that referenced this pull request Oct 9, 2023
* Add config option to verify nailgun requests against ssl cert

* Use ssl verification for all instances of ServerConfig

* Use dynaconf validator

---------

Co-authored-by: dosas <[email protected]>
damoore044 pushed a commit to damoore044/robottelo that referenced this pull request Oct 10, 2023
* Add config option to verify nailgun requests against ssl cert

* Use ssl verification for all instances of ServerConfig

* Use dynaconf validator

---------

Co-authored-by: dosas <[email protected]>
shweta83 pushed a commit to shweta83/robottelo that referenced this pull request Apr 10, 2024
* Add config option to verify nailgun requests against ssl cert

* Use ssl verification for all instances of ServerConfig

* Use dynaconf validator

---------

Co-authored-by: dosas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.12.z Introduced in or relating directly to Satellite 6.12 6.13.z Introduced in or relating directly to Satellite 6.13 6.14.z Introduced in or relating directly to Satellite 6.14 CherryPick PR needs CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants